﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

public enum ColorType
{
	Solid,
	Gradient
}

namespace ToonLib
{
	public class Color
	{
		private ColorType type = ColorType.Solid;
		private List<ARGB> colorPoints = new List<ARGB>();

		[XmlAttribute]
		public ColorType Type
		{
			get
			{
				return type;
			}
			set
			{
				type = value;
			}
		}

		[XmlElement("COLORPOINT")]
		public List<ARGB> ColorPoints
		{
			get
			{
				return colorPoints;
			}
			set
			{
				colorPoints = value;
			}
		}



	}
}
